﻿using Maticsoft.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace FangChanCrm.Services.Interface
{
    public interface It_RenYuanBiaoService
    {
        public t_RenYuanBiao GetById(int id); 
        public t_RenYuanBiao Add(t_RenYuanBiao t_RenYuanBiao);
        public List<t_RenYuanBiao> GetList();
        public bool Delete(int id);
        public string GetListWithFenYe(t_RenYuanBiao t_RenYuanBiao, int start, int limit, string dir, int column);
        public string GetListWithFenYeTestHyy(t_RenYuanBiao t_RenYuanBiao, int start, int limit, string dir, int column);
        public string GetListWithFenYeYeJi(t_RenYuanBiao t_RenYuanBiao, int start, int limit, string dir, int column);
        public string GetListWithFenYeYeJi1(t_RenYuanBiao t_RenYuanBiao, int start, int limit, string dir, int column);
        public string ReturnWhere(t_RenYuanBiao t_RenYuanBiao);
        public string GetKeHuShuJu(string kaishishijian, string jieshushijian, int renyuanid, int start, int limit, string dir, int column);
        public List<t_XiaoShouXiangXiBiao> GetXiaoshouXinXiShuJu(int RenYuanId,string kaishishijian, string jieshushijian,string xiaoshoudongzuo,string zhuangtai);
        public List<t_XiaoShouXiangXiBiao>  ZongGetXiaoshouXinXiShuJu(int RenYuanId,string xiaoshoudongzuo, string zhuangtai);
        public string GetListWithFenYe1(t_RenYuanBiao t_RenYuanBiao, int start, int limit, string dir, int column);
        public List<t_GangWeiBiao> GetCKGangWei(int gongsiid);
        public List<t_RenYuanBiao> GetZhanDuiRenYuanList(int zhanduiid);
        public List<t_ZhanDuiBiao> GetZhanQuZhanDuiList(int zhanquid);

        public List<t_RenYuanBiao> GetGangWeiList(string gangweiid);
        public List<t_RenYuanBiao> GetXiaoShouShuJuList(string gangweiid, string zhanduiid, string zhanquid);
    }
}
